package DiskManager;

public class DiskBit {
       private int BitNum;
      private char[] Content = new char[128];
       
       public DiskBit(int BitNum)
       {
    	   this.BitNum = BitNum;
       }

	public int getBitNum() {
		return BitNum;
	} 

	public void setBitNum(int bitNum) {
		BitNum = bitNum;
	}
       
     public void save(char[] Content)
     {
    	 for(int i=0;i<Content.length;i++)
    		 this.Content[i] = Content[i];
     }
     
     public char[] load() {
    	 return Content;
     }
     
     public void clear() {
    	 for(int i =0;i<128;i++)
    	 {
    		 Content[i] =' ';
    	    	 
    	 }
     }
}
